//管道流 主要用于复制大文件

const fs = require("fs");

// var readStram = fs.createReadStream("./aaa.jpg");
// var writeStream = fs.createWriteStream("./data/bbb.jpg");
// readStram.pipe(writeStream);

var readStram = fs.createReadStream("./009node.zip");
var writeStream = fs.createWriteStream("./data/demo.zip");
readStram.pipe(writeStream);
